﻿<%@ Page Title="" Language="C#" MasterPageFile="~/DaoLienDoan/DaoLienDoan.Master" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="HDVN5.DaoLienDoan.QuanTri.WebForm1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script type="text/javascript">
        $(document).ready(function () {
            var cap2 = $("#<%=CapDonViSua.ClientID%>").val();
            if (cap2 == "5") {
                $("#LienDoan").show();
            } else {
                $("#LienDoan").hide();
            }
        });
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="FeaturedContent" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
    <div>
        <asp:HiddenField runat="server" ID="CapDonViSua" />
        <asp:HiddenField runat="server" ID="MaDonViSua" />
    </div>
    <div id="SuaNoiDung">
        <p>
            <label>Tên Đơn Vị :</label>
            <asp:TextBox ID="TenDV" runat="server"></asp:TextBox>
        </p>
        <p>
            <label>Tên Trưởng :</label>
            <asp:TextBox ID="TenTruong" runat="server"></asp:TextBox>
        </p>
        <p>
            <label>Email :</label>
            <asp:TextBox ID="Email" runat="server"></asp:TextBox>
        </p>
        <p id="LienDoan">
            <label>Liên Đoàn :</label>
            <asp:DropDownList ID="LienDoanChon" runat="server" DataTextField="TENDONVIDANGKY" DataValueField="MASO">

            </asp:DropDownList>
        </p>
    </div>
    <div>
        <asp:Button ID="btnLuu" runat="server" Text="Lưu" OnClick="btnLuu_Click" />
        <asp:Button ID="btnKhongLuu" runat="server" Text="Không Lưu" OnClick="btnKhongLuu_Click" />
    </div>
</asp:Content>
